<div id="wowslider-container1">
			<div class="ws_images">
                 <ul>
                    <?php $this->load->view("template/banner")?>
                </ul>
            </div>
		</div>
	<script type="text/javascript" src="<?php echo base_url();?>public/scripts/home/wowslider.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>public/scripts/home/script.js"></script>
		<div id="gallery">
        		<p class="gallery_title">Album Ảnh</p>
                <div class="outer_boder">
                	<div class="album">
                    	<ul>
                        	<?php $this->load->view("template/albumthumb") ?>
                        </ul>
                    </div><!--end album-->
                    <a href="#" class="next"></a>
                    <a href="#" class="prev"></a>
                </div><!--end outer_boder-->
                

        </div><!--end gallery-->
        <div class="clear"></div>
		   <?php if($result!="")
                { 
                    foreach($result as $item)
                    {

           ?>
            <p class="menu_title"><?php echo $item['cat_name']?></p>
            <?php if(!empty($item["proname"])){foreach($item["proname"] as $sub){?>
                <div class="menu_foot">
                    <a href="#"><img src="<?php echo base_url()?>upload/product/<?php if($sub["prod_image"]  !="") echo  $sub["prod_image"];else { echo "no_image.gif";} ?>"/></a>
                    <p><strong><?php echo $sub["prod_name"] ?></strong><br />
                        Giá : <span><?php echo number_format($sub['prod_price'])?> VNĐ</span>
                    </p>
                </div><!--end menu foot-->
                <?php }
                }
					else   '<p class="menu_title">Hiên đang cập nhật</p>';
				?>
        <?php }
			}
			else   '<p class="menu_title">Hiên đang cập nhật</p>';
		?>